<div id="titulo">Datos Gestion</div>
<table class="tablaform" width="99%" border="">
<tr>
<td width="25%"><strong>Referencia</strong></td>
<td width="74%"><?php echo $datos->getReferencia();?></td>
</tr>

<tr>
<td><strong>Producto</strong></td>
<td><?php echo $servicio;?></td>
</tr>

<tr>
<td><strong>Contacto</strong></td>
<td><?php echo $datos->getContacto();?></td>
</tr>

<tr>
<td><strong>Telefono 1</strong></td>
<td><?php echo $datos->getTelefono();?></td>
</tr>

<tr>
<td><strong>Telefono 2</strong></td>
<td><?php echo $datos->getTelefono2();?></td>
</tr>

<tr>
<td><strong>Email</strong></td>
<td><?php echo $datos->getMail();?></td>
</tr>



</table> 
<br/>
<div id="titulo">Agregar Gestion Entrega</div>
<?php echo form_open_multipart('pendienteen/save', array('name' => 'etapa','id' => 'commentForm'));?>
	<table class="tablaform" width="100%" border="0">
				
		<tr>
			<td><b>Ubicaci&oacute;n: <span id="obli"> *</span></b> </td>
			<td>
			    <select name="ubicacion" id="ubicacion">
			          <?php foreach ($ubicacion as $k):?>
			             <option value="<?php echo $k->getIdUbicacionDoc()?>"><?php echo $k->getDescUbicacionDoc()?></option>
                     <?php endforeach;?>
   			    </select>
			</td>
		</tr>
		  <input type="hidden" name="id" value="<?php echo $datos->getIdPendientes()?>"></input>
		<tr>
			<td><b>Balance Pendientes: <span id="obli"> *</span></b> </td>
			<td><input type="text" name="balance" id="balance" class="required" maxlength="20" size="10" value="" /></td>
		</tr>
		
		<tr>
			<td><b>Moneda: <span id="obli"> *</span></b> </td>
			<td><select name="moneda">
			         <option value="RD$">RD$</option>
			         <option value="US$">US$</option>
			         <option value="EUR">EUR&euro;</option>
			   </select>
			 </td>
		</tr>
		 
		 <?php if ($datos->getServicio() == 7 || $datos->getServicio() == 2 || $datos->getServicio() == 3) {
		 	?>
		 
		      <tr>
		<td colspan="2" style="color:#0000ff;background:#dddddd;font-size:18px;text-align:center;">Referencia Cia</td>
	  </tr>
	  
	   <tr>
          <td>
             <b>RNC | RUC: <span id="obli"> *</span></b>
          </td>
          <td>
             <input type="text" name="rnc" id="rnc" class="required" maxlength="30" size="15" value="" />
          </td>
       </tr>
	  
       <tr>
          <td><b>Fecha Costitucion: <span id="obli"> *</span></b></td><td><input id="date" class="required" name="constitucion"></td>
           <script type="text/javascript">
      	             $(function(){
      		         $("#date").datepicker({ });});
    	   </script>   
       </tr>
       
       <tr>
           <td><b>Fecha Vencimiento: <span id="obli"> *</span></b></td><td><input id="date1" class="required" name="vencimiento"></td>
           <script type="text/javascript">
      	             $(function(){
      		         $("#date1").datepicker({ });});
    	   </script>
      </tr>	
	     
	   <tr>
         <td><b>Fecha Cierre: <span id="obli"> *</span></b></td><td><input id="date2" class="required" name="cierre"></td>
         <script type="text/javascript">
  	                  $(function()
  	                  {
  		        	      $("#date2").datepicker({ });
                      });
	       </script>
      </tr>	
        
         
	  <tr>
		  <td><b>Email Sociedad: <span id="obli"> *</span></b></td><td><input type="text" name="emails" id="emails" class="email" maxlength="100" size="30" value="" /></td>
	  </tr>
	  <?php }?>
		
		
			<tr><td colspan="2"><hr /></td></tr>
		<tr>
		   <td><input type="submit" value="Guardar" /></td>
		    <td><a href="<?php echo site_url().'/pendienteen' ?>"><input type="button" value="Atras" align="center"/></a></td>		
		 </tr>
	
	</table>
</form>
		